﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Default.Master" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="ProjectSemIII.Register" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentCenter" runat="server">
    <script type="text/javascript">
        $(document).ready(function () {
            $('#form1').validate();
        })
    </script>
    <div id="divCenter" runat="server">
        <div id="divTop" style="width: 100%; float: left;">
            <span class="flt rp_txtour">Register <span style="color: #3F4534;">New Account</span></span>
            <img src="/App_Themes/Default/images/cp_line.gif" width="511" height="1" alt="" class="flt1 rp_line" />
        </div>
        <div id="divBottom" style="width: 100%; float: left;">
            <table style="width: 90%; margin-left: 5%">
                <tr>
                    <td style="width: 30%">
                        <asp:Label runat="server" ID="userNameLb" Text="UserName: "></asp:Label></td>
                    <td style="width: 70%">
                        <asp:TextBox runat="server" Width="100%" ID="txtUserName" CssClass="required" minlength="6"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 30%">
                        <asp:Label runat="server" ID="Label1" Text="Password: "></asp:Label></td>
                    <td style="width: 70%">
                        <asp:TextBox runat="server" TextMode="Password" Width="100%" CssClass="required" minlength="6" ID="txtPassword"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 30%">
                        <asp:Label runat="server" ID="Label2" Text="Re-Enter Password: "></asp:Label></td>
                    <td style="width: 70%">
                        <asp:TextBox runat="server" TextMode="Password" CssClass="required" equalTo="#contentCenter_txtPassword" Width="100%" ID="txtReEnterPassword"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 30%">
                        <asp:Label runat="server" ID="Label3" Text="Roll No: "></asp:Label></td>
                    <td style="width: 70%">
                        <asp:TextBox runat="server" Width="100%" ID="txtRollNo" CssClass="required"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 30%">
                        <asp:Label runat="server" ID="Label4" Text="Full Name: "></asp:Label></td>
                    <td style="width: 70%">
                        <asp:TextBox runat="server" Width="100%" ID="txtFullName" CssClass="required"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 30%">
                        <asp:Label runat="server" ID="Label5" Text="Class: "></asp:Label></td>
                    <td style="width: 70%">
                        <asp:TextBox runat="server" Width="100%" ID="txtClass" CssClass="required"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 30%">
                        <asp:Label runat="server" ID="Label6" Text="Specification: "></asp:Label></td>
                    <td style="width: 70%">
                        <asp:TextBox runat="server" Width="100%" ID="txtSpecification" CssClass="required"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 30%">
                        <asp:Label runat="server" ID="Label7" Text="Section: "></asp:Label></td>
                    <td style="width: 70%">
                        <asp:TextBox runat="server" Width="100%" ID="txtSection" CssClass="required"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 30%">
                        <asp:Label runat="server" ID="Label9" Text="Group: "></asp:Label></td>
                    <td style="width: 70%">
                        <asp:RadioButton ID="student" Style="margin-left: 10%;" runat="server" Checked="true" Text="Student" GroupName="groupJoin" />
                        <asp:RadioButton ID="staff" Style="margin-left: 20%;" runat="server" Text="Staff/Faculty" GroupName="groupJoin" />
                    </td>
                </tr>
                <tr>
                    <td style="width: 30%">
                        <asp:Label runat="server" ID="Label8" Text="Admission Date / Date of Joining: "></asp:Label></td>
                    <td style="width: 70%">
                        <asp:Calendar runat="server" ID="joinDate" BackColor="White" BorderColor="#999999" CellPadding="4" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" Height="180px" Width="200px">
                            <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-Size="7pt" />
                            <NextPrevStyle VerticalAlign="Bottom" />
                            <OtherMonthDayStyle ForeColor="#808080" />
                            <SelectedDayStyle BackColor="#666666" Font-Bold="True" ForeColor="White" />
                            <SelectorStyle BackColor="#CCCCCC" />
                            <TitleStyle BackColor="#999999" BorderColor="Black" Font-Bold="True" />
                            <TodayDayStyle BackColor="#CCCCCC" ForeColor="Black" />
                            <WeekendDayStyle BackColor="#FFFFCC" />
                        </asp:Calendar>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <div runat="server" id="errorDiv" visible="false">
                            <br />
                            <asp:Label ID="error" Style="text-align: center;" runat="server" Width="100%" ForeColor="Red" Text="error"></asp:Label>
                        </div>
                        <br />
                        <asp:Button runat="server" ID="btRegister" Style="margin-left: 10%" Text="Register" OnClick="btRegister_Click" Width="40%" />
                        <asp:Button runat="server" ID="brClear" Style="margin-left: 5%" Text="Clear" OnClick="brClear_Click" Width="40%" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div id="registerStatus" runat="server">
        <div id="register" style="float: left; margin-left: 10%; width: 80%;">
            <asp:Label runat="server" ID="lbStatus" Style="text-align: center;"></asp:Label>
            <span id="errorSpan" runat="server"></span>
        </div>
    </div>
</asp:Content>
